/*  1:   */ package com.jetbrains.licenseServer.openapi.requests;
/*  2:   */ 
/*  3:   */ public abstract class AbstractObtainTicketRequest<Response>
/*  4:   */   extends AbstractRequest<Response>
/*  5:   */ {
/*  6:   */   public static final int BUILD_DATE_CUTOFF = 20000000;
/*  7:   */   protected int versionNumber;
/*  8:12 */   protected int buildDate = 2147483647;
/*  9:   */   private int f;
/* 10:   */   private boolean g;
/* 11:   */   private String h;
/* 12:   */   private boolean i;
/* 13:   */   
/* 14:   */   public AbstractObtainTicketRequest() {}
/* 15:   */   
/* 16:   */   public AbstractObtainTicketRequest(long paramLong, String paramString1, String paramString2, String paramString3, String paramString4, int paramInt1, int paramInt2, boolean paramBoolean)
/* 17:   */   {
/* 18:23 */     super(paramLong, paramString1, paramString2, paramString3, paramString4);
/* 19:24 */     this.versionNumber = paramInt1;
/* 20:25 */     this.buildDate = paramInt2;
/* 21:26 */     this.i = paramBoolean;
/* 22:27 */     this.g = true;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public int getVersionNumber()
/* 26:   */   {
/* 27:31 */     if (this.g) {
/* 28:32 */       return this.versionNumber;
/* 29:   */     }
/* 30:34 */     return this.f >= 20000000 ? 0 : this.f;
/* 31:   */   }
/* 32:   */   
/* 33:   */   public void setVersionNumber(int paramInt)
/* 34:   */   {
/* 35:38 */     this.versionNumber = paramInt;
/* 36:39 */     this.g = true;
/* 37:   */   }
/* 38:   */   
/* 39:   */   public int getBuildDate()
/* 40:   */   {
/* 41:43 */     if (this.g) {
/* 42:44 */       return this.buildDate;
/* 43:   */     }
/* 44:49 */     return this.f >= 20000000 ? this.f : 0;
/* 45:   */   }
/* 46:   */   
/* 47:   */   public void setBuildDate(int paramInt)
/* 48:   */   {
/* 49:53 */     this.buildDate = paramInt;
/* 50:54 */     this.g = true;
/* 51:   */   }
/* 52:   */   
/* 53:   */   public String getEdition()
/* 54:   */   {
/* 55:58 */     return this.h;
/* 56:   */   }
/* 57:   */   
/* 58:   */   public void setEdition(String paramString)
/* 59:   */   {
/* 60:62 */     this.h = paramString;
/* 61:   */   }
/* 62:   */   
/* 63:   */   public int getVersion()
/* 64:   */   {
/* 65:68 */     return this.i ? this.buildDate : this.versionNumber;
/* 66:   */   }
/* 67:   */   
/* 68:   */   public void setVersion(int paramInt)
/* 69:   */   {
/* 70:79 */     this.f = paramInt;
/* 71:   */   }
/* 72:   */ }


/* Location:           E:\idea\
 * Qualified Name:     com.jetbrains.licenseServer.openapi.requests.AbstractObtainTicketRequest
 * JD-Core Version:    0.7.0.1
 */